package com.yunhai.system.domain;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yunhai.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_report_info")
public class Report implements Serializable {


    /**
     * 编号
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 报告名称
     */
    @Excel(name = "报告名称")
    private String reportName;

    /**
     * 报告文件路径
     */
    @Excel(name = "报告文件路径")
    private String reportUrl;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * $column.columnComment
     */
    private Date updateTime;

  /*  @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();*/

}
